arrary_a=[1,2,3,4,5,6,7,8]
c=[]
target=9
def arrary_indices(a):
    global c
    for i in a:
        for j in a:
            if i+j==target:
                c.append([a.index(i),a.index(j)])
arrary_indices(arrary_a)
print (str(c))
file = open ('my file.txt','w')
file.write(str(c))
file.close()


from math import* 
int_a=int(input())
a=False
for i in range(1,1+int(sqrt(int_a))):
    for j in range(1,1+int(sqrt(int_a))):
        if i**2+j**2==int_a:
            a=True
            print("true")
            print(i,'*',i,'+',j,'*',j,'=',int_a)
            break
    if a==True:
        break
    if i==int(sqrt(int_a)) and a==False:
        print("false")
        


from math import* 
int_a=int(input())
summm=0
for i in range(0,2+int(sqrt(int_a))):
    summm+=i*i
    if int_a==summm:
        print("true")
        for i in range(1,1+int(sqrt(int_a))):
            print(i,'*',i,end=' ')
            if i==int(sqrt(int_a)):
                print('=',summm)
            else:
                print('+',end=' ')
        break
    if summm>int_a:
        print('false')

